<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>十二岭果酒"水果突击"</title>
    <meta http-equiv="X-UA-Compatible" content="IE=5"/>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<meta name="viewport" content="width=320, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui, user-scalable=no,target-densityDpi=super-high-dpi">
	<meta name="renderer" content="webkit">
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<meta name="format-detection" content="telphone=no, email=no" />
	<meta name="HandheldFriendly" content="true">
	<meta name="MobileOptimized" content="320">
	<meta name="browsermode" content="application">
	<meta name="x5-page-mode" content="app">
	<meta name="msapplication-tap-highlight" content="no">
	<meta name="format-detection" content="telephone=no">

	<link rel="stylesheet" href="css/style.css">
	<script src="./js/jquery.js"></script>
	<script src="./js/jquery.cookie.js"></script>
	<script src="./js/GSAP/TweenMax.min.js"></script>
	<script src="./js/GSAP/utils/Draggable.min.js"></script>
	<script src="./js/hammer.min.js"></script>
	<script src="./js/jquery.hammer.js"></script>
	<script src="./js/preLoad.js"></script>
	<script>document.write('<script src="./js/common.js?n='+Math.round(Math.random()*999999999)+'"><\/script>');</script>
	<script>


		function getQueryString(name) {
			var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
			var r = window.location.search.substr(1).match(reg);
			if (r != null) return r[2]; return null;
		}
		var _czc = _czc || [];
		_czc.push(["_setAccount", "1256371227"]);

		if(getQueryString('cc')==null){
			location.href = '/biz/12ling_s01e01/startup?cc=0050'
		}
	</script>
</head>
<body>
	<div class="firstload">
		<img src="images/loading_p0.png">	
	</div>
	<div class="siteMain siteIndex">
		<div class="mainContent">
			<div class="sitelogo posabs"><img src="images/site_logo.png"></div>
			<div class="musicBtn posabs"><img src="images/music_btn.png"></div>
			<div class="cloud c0 posabs"><img src="images/index_cloud0.png"></div>
			<div class="cloud c1 posabs"><img src="images/index_cloud1.png"></div>
			<div class="cloud c2 posabs"><img src="images/index_cloud2.png"></div>
			<div class="moon posabs">
				<div class="figureBg posabs"><img src="images/index_figure_bg.png"></div>
				<div class="figure posabs"><img src="images/index_figure.png"></div>
				<div class="bigTitle posabs"><img src="images/index_big_title.png"></div>
				<img class="ball" src="images/game_moon.png">
			</div>
			<div class="btnGo posabs">
				<div class='btn'><img src="images/index_big_btn1.png"></div>
				<div class="bg posabs"><img src="images/index_big_btn2.png"></div>
			</div>
			<div class="btnPrize posabs"><img src="images/index_btn0.png"></div>
			<div class="btnHelp posabs"><img src="images/index_btn1.png"></div>
			<div class="footer posabs"><img src="images/index_footer.png"></div>
		</div>
		<!-- 我家酒庄 -->
		<div class="msgbox msgMyShop posabs">
			<div class="wrap posabs">
				<div class="close posabs"><img src='images/game_msg_close.png'></div>
				<div class="result posabs">
					<div class="myScore">当前积分：<span>000000</span></div>
					<ul>
						<li>
							<div class="t0">剩余：<span>100</span>份</div>
							<div class="t1">中秋活动</div>
							<div class="t1">小红包</div>
							<div class="t2">15000分兑换</div>
						</li>
						<li>
							<div class="t0">剩余：<span>100</span>份</div>
							<div class="t1">中秋活动</div>
							<div class="t1">大红包</div>
							<div class="t2">45000分兑换</div>
						</li>
						<li>
							<div class="t0">剩余：<span>100</span>份</div>
							<div class="t1">中秋活动</div>
							<div class="t1">大大红包</div>
							<div class="t2">90000分兑换</div>
						</li>
						<li>
							<div class="t0">剩余：<span>100</span>份</div>
							<div class="t1">青梅酒</div>
							<div class="t1">2折红包</div>
							<div class="t2">180000分兑换</div>
						</li>
						<li>
							<div class="t0">剩余：<span>100</span>份</div>
							<div class="t1">黄皮酒</div>
							<div class="t1">2折红包</div>
							<div class="t2">180000分兑换</div>
						</li>
						<li>
							<div class="t0">剩余：<span>100</span>份</div>
							<div class="t1">橄榄酒</div>
							<div class="t1">500ML2折</div>
							<div class="t2">300000分兑换</div>
						</li>
						<li>
							<div class="t0">剩余：<span>100</span>份</div>
							<div class="t1">橄榄酒</div>
							<div class="t1">750ML2折</div>
							<div class="t2">400000分兑换</div>
						</li>
						<li>
							<div class="t0">剩余：<span>100</span>份</div>
							<div class="t1">桑葚酒</div>
							<div class="t1">2折红包</div>
							<div class="t2">400000分兑换</div>
						</li>
						<li>
							<div class="t0">剩余：<span>100</span>份</div>
							<div class="t1">中秋活动</div>
							<div class="t1">超级大礼包</div>
							<div class="t2">600000分兑换</div>
						</li>
					</ul>
				</div>
				<div class="showFriend posabs">查看帮忙的好友 >></div>
				<img src='images/index_msg_prize.png'>
			</div>
		</div>
		<!-- 好友列表页 -->
		<div class="msgbox msgFriends posabs">
			<div class="close posabs"><img src='images/game_msg_close.png'></div>
			<div class="wrap">
				<div class="friends">
					<div class="title">朋友帮忙区</div>
					<ul>
						<li>
							暂无数据...
						</li>
					</ul>
				</div>
			</div>
		</div>
		<!-- 提示关注微信 -->
		<div class="msgbox msgAllow posabs">
			<div class="wrap posabs">
				<div class="close posabs"><img src='images/game_msg_close.png'></div>
				<div class="result posabs">
					<div class="t1 t">关注微信才能兑奖哦~</div>
					<div class="btn"><img src="images/game_btn_allow.png"></div>
				</div>
				<img src='images/game_msg_tips1.png'>
			</div>
		</div>
		<!-- 提示只能玩一次 -->
		<div class="msgbox msgOnlyOne posabs">
			<div class="wrap posabs">
				<div class="close posabs"><img src='images/game_msg_close.png'></div>
				<div class="result posabs">
					<div class="t0 t">每天只能玩一次哦</div>
					<div class="t1 t">你可以叫你的朋友为你加分</div>
				</div>
				<img src='images/game_msg_tips0.png'>
			</div>
		</div>
		<!-- 提示奖品兑换 -->
		<div class="msgbox msgPrize posabs">
			<div class="wrap posabs">
				<div class="close posabs"><img src='images/game_msg_close.png'></div>
				<div class="result posabs">
					<div class="t0 t">20优惠券</div>
					<div class="t1 t">优惠码:<span>0000000000</span></div>
					<div class="t2 t">恭喜你获得价值20元优惠券</div>
					<div class="t3 t">长按复制去使用</div>
					<div class="btn"><img src="images/game_btn_detail.png"></div>
					<div class="t4 t"><a href='http://www.buytogetcoin.com/category.php?id=18' target=_blank>去兑换 >></a></div>
				</div>
				<img src='images/game_msg_prize.png'>
			</div>
		</div>
		<!-- 兑换券详细 -->
		<div class="msgbox msgPrizeDetail posabs">
			<div class="wrap posabs">
				<div class="result posabs">
					<div class="close posabs"><img src='images/game_msg_close.png'></div>
					<div class="t0">xxxxxxxxx</div>
					<div class="t1">使用规则：</div>
					<div class="t2 w">1、本券只适用于在《买立给币》购物平台上购买<span></span>时使用；</div>
					<div class="t2">2、每张订单只可以使用一张优惠券且不与其他优惠同时使</div>
					<div class="t2">3、本券不可兑换现金、不找零、不打折、不开发票；</div>
					<div class="t2">4、优惠码一经使用，将自动失效；</div>
					<div class="t2">5、活动解释权归买立给币所有。</div>
					<div class="t3">有效日期至2015年10月10日</div>
				</div>
				<img src='images/index_prize_detail_bg.png'>
			</div>
		</div>
		<!-- 活动说明 -->
		<div class="msgbox msgHelp posabs">
			<div class="wrap">
				<div class="close posabs"><img src='images/game_msg_close.png'></div>
				<div class="result">
					<div class="wrap0">
						<div class="wrap1">
							<div class="t0">活动时间：</div>
							<div class="c">2015年9月17日至 2015年9月26日</div>
							<div class="t0">游戏玩法：</div>
							<div class="c">
								1.通过点击嫦娥来控制左右移动接从天上掉下来的水果<br>
								2.水果分数分类：荔枝：+100分；桑葚+50分；橄榄+30分；黄皮：+20分；青梅：+10分，黄秋葵：游戏总分x1.5倍<br>
								3.减分分类：添加剂：-50分；水：-30分；白酒-10分；<br>
							</div>
							<div class="t1">活动内容：</div>
							<div class="c">
								(一)	参与方式：<br>
								1.用户从十二岭微信公众号、朋友圈链接进入“游戏”游戏界面，完成游戏。<br>
								2.每天可以一次游戏，每位好友一天可以帮助游戏积分一次<br>
								<br>
								(二)	活动奖品：<br>
								1.奖品内容：<br>
								<table class='table0'> 
								<tr class='t'><td>数量</td><td> 奖品名称 </td><td>备注</td></tr>
								<tr><td>1000</td><td>十二岭中秋活动<br>小红包</td><td>5元代金券<div>（只适用于购买青梅酒和黄皮酒）</div></td></tr>
								<tr><td>500</td><td>十二岭中秋活动<br>大红包</td><td>20元代金券<div>（只适用于购买橄榄酒和桑葚酒）</div></td></tr>
								<tr><td>300</td><td>十二岭中秋活动<br>大大红包</td><td>50元代金券<div>（只适用于购买荔枝白酒、荔枝白兰地）</div></td></tr>
								<tr><td>50</td><td>十二岭青梅酒<br>2折红包</td><td>青梅酒2折代金券<div>价值52元</div></td></tr>
								<tr><td>50</td><td>十二岭黄皮酒<br>2折红包</td><td>黄皮酒2折代金券<div>价值56元</div></td></tr>
								<tr><td>60</td><td>十二岭橄榄酒500ML<br>2折红包</td><td>橄榄酒500ML2折代金券<div>价值135元</div></td></tr>
								<tr><td>15</td><td>十二岭桑葚酒<br>2折红包</td><td>桑葚酒2折代金券<div>价值191元</div></td></tr>
								<tr><td>15</td><td>十二岭橄榄酒750ML<br>2折红包</td><td>橄榄酒750ML2折代金券<div>价值207元</div></td></tr>
								<tr><td>8</td><td>十二岭中秋活动<br>超级大礼包</td><td>超级大礼包2折代金券<div>价值407元</div></td></tr>
								</table>

								<b>(备注：红包代金券只适用于购买十二岭的商品而每一张订单只能使用一 个红包。红包的面值分为5元，20元，50元。5元只适用于购买青梅酒和 黄皮酒；20元只适用于购买橄榄酒和桑葚酒；50元只适用于购买荔枝白 酒、荔枝白兰地。)</b>

								2.奖品兑换
								<table class='table1'> 
								<tr class='t'><td>红包名称</td><td>游戏得分</td><td>使用范围</td></tr>
								<tr><td>十二岭中秋活动<br>小红包</td><td>15000</td><td>只适用于青梅酒、黄皮酒</td></tr>
								<tr><td>十二岭中秋活动<br>大红包</td><td>45000</td><td>只适用于橄榄酒500ML、橄榄酒750ML、桑葚酒</td></tr>
								<tr><td>十二岭中秋活动<br>大大红包</td><td>90000</td><td>只适用于荔枝白酒、荔枝白兰地</td></tr>
								<tr><td>十二岭青梅酒<br>2折红包</td><td>180000</td><td>只适用于青梅酒</td></tr>
								<tr><td>十二岭黄皮酒<br>2折红包</td><td>180000</td><td>只适用于黄皮酒</td></tr>
								<tr><td>十二岭橄榄酒500ML<br>2折红包</td><td>300000</td><td>只适用于橄榄酒500ML</td></tr>
								<tr><td>十二岭桑葚酒<br>2折红包</td><td>400000</td><td>只适用于桑葚酒</td></tr>
								<tr><td>十二岭橄榄酒750ML<br>2折红包</td><td>400000</td><td>只适用于橄榄酒750ML</td></tr>
								<tr><td>十二岭中秋活动<br>超级大礼包</td><td>600000</td><td>只适用于超级组合装</td></tr>
								</table>

							</div>
							<div class="t1">兑奖方式：</div>
							<div class="c">
								1.先关注，才可以进行兑换。<br>
								2.兑换优惠券，不需要填写资料，可以多次进入查看。<br>
							</div>
							<div class="btn"><img src="images/index_intro_btn.png"></div>
							<div class="clear"></div>

						</div>
					</div>
				</div>
			</div>
		</div>

	</div>
 </body>
</html>
<div style="display: none"><script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1256371227'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1256371227' type='text/javascript'%3E%3C/script%3E"));</script></div>
<script>
	var myWxData = new Object();
	myWxData.appId='<%=wechatSign.appId%>';
	myWxData.timestamp='<%=wechatSign.timestamp%>';
	myWxData.nonceStr='<%=wechatSign.nonceStr%>';
	myWxData.signature='<%=wechatSign.signature%>';
	myWxData.hostname = '<%=hostname%>';
	myWxData.instance = "<%=instance%>";
	myWxData.f_instance = "<%=f_instance%>";
	myWxData.collect = <%=collect%>;
	myWxData.done = <%=done%>;
	myWxData._csrf = "<%=_csrf%>";
	myWxData.own = <%=own%>;

	// var myWxData = new Object();
	// myWxData.appId='<%=wechatSign.appId%>';
	// myWxData.timestamp='<%=wechatSign.timestamp%>';
	// myWxData.nonceStr='<%=wechatSign.nonceStr%>';
	// myWxData.signature='<%=wechatSign.signature%>';
	// myWxData.hostname = '<%=hostname%>';
	// myWxData.instance = "<%=instance%>";
	// myWxData.collect = 1;
	// myWxData.done = 1;
	// myWxData._csrf = "<%=_csrf%>";
	// myWxData.own = 1;

	var prizeData;
	var hbArr = new Array();
	hbArr.push(["十二岭中秋活动-小红包","恭喜你 你获得价值5元优惠券","青梅酒或者黄皮酒"]);
	hbArr.push(["十二岭中秋活动-大红包","恭喜你 你获得价值20元优惠券","橄榄酒500ML、橄榄酒750ML、桑葚酒"]);
	hbArr.push(["十二岭中秋活动-大大红包","恭喜你 你获得价值50元优惠券","荔枝白酒、荔枝冰酒、荔枝白兰地"]);
	hbArr.push(["十二岭青梅酒-2折红包","恭喜你 你获得价值52元青梅酒2折代金券","青梅酒"]);
	hbArr.push(["十二岭黄皮酒-2折红包","恭喜你 你获得价值56元黄皮酒2折代金券","黄皮酒"]);
	hbArr.push(["十二岭橄榄酒500ML-2折红包","恭喜你 你获得价值135元橄榄酒500ML代金券","橄榄酒500ML"]);
	hbArr.push(["十二岭橄榄酒750ML-2折红包","恭喜你 你获得价值207元橄榄酒750ML代金券","橄榄酒750ML"]);
	hbArr.push(["十二岭桑葚酒-2折红包","恭喜你 你获得价值191元桑葚酒2折代金券","桑葚酒"]);
	hbArr.push(["十二岭中秋活动-超级大礼包","恭喜你 你获得价值407元超级大礼包2折代金券","超级大礼包"]);

	//加载...
	$(function(){
		var preLoadImgList = new Array('images/site_bg.jpg','images/share_p0.png','images/ajaxLoading.gif','images/index_prize_bg1.png','images/index_prize_bg0.png','images/index_prize_bg2.png','images/index_intro_bg0.png','images/index_intro_bg1.png','images/index_intro_bg2.png','images/index_intro_title_bg0.png','images/index_intro_title_bg1.png');
		preLoad(preLoadImgList);
	})

	function siteLoaded(){
		// alert(JSON.stringify(myWxData));
		$('.msgMyShop .myScore span').text(myWxData.collect);

		//所有弹出框的关闭按钮
		$('.msgbox .close').each(function(){
			$(this).hammer({}).on("tap press pan swipe", function(){
				buttonAnmi($(this));
				closeDivOpen($(this).parents('.msgbox'));
			})
		})

		//"接水果按钮"按钮
		$('.btnGo').hammer({}).on("tap press pan swipe", function(){
			buttonAnmi($(this));
			_czc.push(["_trackEvent", "接水果按钮", "onclick", "", 1]);
			if(myWxData.done==false){
				location.href='game?cc='+$.getUrlParam('cc')+'&instance='+myWxData.instance+'&f_instance='+myWxData.f_instance;
			}else{
				openDivOpen($('.msgOnlyOne'));
			}
		})
		//"兑"按钮
		$('.btnPrize').hammer({}).on("tap press pan swipe", function(){
			_czc.push(["_trackEvent", "兑按钮", "onclick", "", 1]);
			buttonAnmi($(this));
			openDivOpen($('.msgMyShop'));
		})
		//"？"按钮
		$('.btnHelp').hammer({}).on("tap press pan swipe", function(){
			_czc.push(["_trackEvent", "？按钮", "onclick", "", 1]);
			buttonAnmi($(this));
			openDivOpen($('.msgHelp'))
		})
		//关闭帮助
		$('.msgHelp .btn').hammer({}).on("tap press pan swipe", function(){
			buttonAnmi($(this));
			closeDivOpen($('.msgHelp'))

		})
		//"去关注"按钮
		$('.msgAllow .btn').hammer({}).on("tap press pan swipe", function(){

			_czc.push(["_trackEvent", "去关注", "onclick", "", 1]);
			buttonAnmi($(this));
			location.href='http://mp.weixin.qq.com/s?__biz=MzAxNDAwODMyNQ==&mid=208625063&idx=1&sn=b253a38d76261b76a4bf841b7f8893fc&scene=0&from=groupmessage&isappinstalled=0#rd';
		})

		//好友列表按钮
		$('.msgMyShop .showFriend').hammer({}).on("tap press", function(){
			buttonAnmi($(this));
			getFriends();
		})

		//已经兑换的兑换券（黄色底）按钮，用于测试关注弹框
		// $('.msgMyShop ul li:nth-child(6)').each(function(){
		// 	$(this).hammer({}).on("tap press pan swipe", function(){
		// 		buttonAnmi($(this));
		// 		openDivOpen($('.msgAllow'));
		// 	})
		// })
		//查看详情按钮
		$('.msgPrize .btn').hammer({}).on("tap press pan swipe", function(){
			_czc.push(["_trackEvent", "查看详情按钮", "onclick", "", 1]);
			buttonAnmi($(this));
			n=$(this).attr('n');
			d=hbArr[n];
			$('.msgPrizeDetail .t0').text(d[0]);
			$('.msgPrizeDetail .w span').text(d[2]);
			openDivOpen($('.msgPrizeDetail'));
		})
		//关闭查看详情
		$('.msgPrizeDetail').hammer({}).on("tap press pan swipe", function(){
			buttonAnmi($(this));
			closeDivOpen($(this));
		})

		if($.getUrlParam('ac')=='getPrize'){
			$('.msgMyShop').show();
		}else{
			anmiArr();
		}
	}

	//获取我的酒庄信息
	myChateau();
	function myChateau(){
		// alert(myWxData._csrf)
		$.ajax({
			type: "POST",
			url:"/biz/12ling_s01e01/myChateau",
			data:{_csrf:myWxData._csrf},
			dataType:'json',
			success: function(data) {
				if(data.success==true){
					_czc.push(["_trackEvent", "获取我的酒庄信息", "onclick", "", 1]);
					// alert(JSON.stringify(data));
					prizeData=data.data.prizeNums;
					n=0;
					for(i in prizeData){
						d=prizeData[i];
						obj=$($('.msgMyShop ul li')[n]);
						obj.find('.t0 span').text(d.num);

						if(d.flag == true){
							obj.find('.t2').text('已兑换');
							obj.attr('remarks',d.record.remarks);
							obj.addClass('have');
						}

						if(d.worth<myWxData.collect && d.flag == false && d.num>0){
							obj.addClass('can');
						}
						n++;
					}
					//可以用的兑换券（棕色底）按钮
					$('.msgMyShop ul .can').each(function(){
						$(this).hammer({}).on("tap press pan swipe", function(){
							_czc.push(["_trackEvent", "可以用的兑换券（棕色底）按钮", "onclick", "", 1]);
							buttonAnmi($(this));
							n=$('.msgMyShop ul li').index($(this));
							d=hbArr[n];
							$('.msgPrize .t0').text(d[0]);
							$('.msgPrize .t2').text(d[1]);
							$('.msgPrize .btn').attr('n',n);
							cashPrize(n,$(this));
						})
					})
					//已兑换过的按钮
					$('.msgMyShop ul .have').each(function(){
						$(this).hammer({}).on("tap press pan swipe", function(){
							buttonAnmi($(this));
							n=$('.msgMyShop ul li').index($(this));
							d=hbArr[n];
							$('.msgPrize .t0').text(d[0]);
							$('.msgPrize .t1 span').text($(this).attr('remarks'));
							$('.msgPrize .t2').text(d[1]);
							$('.msgPrize .btn').attr('n',n);
							openDivOpen($('.msgPrize'));
							// cashPrize(n,$(this));
						})
					})
				}else{
					alert(data.msg);
				}
			},
			beforeSend: function(){
				// $(".ajaxLoading").show();
			},
			complete: function(d){
				// $(".ajaxLoading").hide();
			}
		});
	}
	//奖品兑换
	function cashPrize(n,obj){
		p=eval('prizeData.prize'+(n+1));
		level=p.level;
		$.ajax({
			type: "POST",
			url:"/biz/12ling_s01e01/cashPrize",
			data:{level:level,_csrf:myWxData._csrf},
			dataType:'json',
			success: function(data) {
				// alert(JSON.stringify(data));
				_czc.push(["_trackEvent", "奖品兑换", "onclick", "", 1]);
				if(data.success==true){
					if(data.subscribe==true){
						$('.msgPrize .t1 span').text(data.data.record.remarks)
						obj.removeClass('can');
						$('.msgMyShop .myScore span').text(myWxData.collect-p.worth);
						myChateau();
						openDivOpen($('.msgPrize'));
					}else{
						openDivOpen($('.msgAllow'));
					}
				}else{
					if(data.subscribe==false){
						openDivOpen($('.msgAllow'));
					}else{
						//alert(data.msg);
					}
				}
			},
			beforeSend: function(){
				$(".ajaxLoading").show();
			},
			complete: function(data){
				$(".ajaxLoading").hide();
			}
		});
	}

	//获取我的好友信息
	function getFriends(){
		$.ajax({
			type: "POST",
			url:"/biz/12ling_s01e01/getFriends",
			data:{_csrf:myWxData._csrf,instance:myWxData.instance},
			dataType:'json',
			success: function(data) {
				if(data.success==true){
					// alert(JSON.stringify(data));
					arr=data.data;
					html='';
					for(i in arr){
						d=arr[i];
						html+='<li><div class="head"><img src="'+d[1]+'"></div><div class="word">你的好友<span class="s0">'+d[0]+'</span>帮你赢得<span class="s1">'+d[2]+'</span>分</div></li>'
					}
					$('.msgFriends .friends ul').html(html);
					openDivOpen($('.msgFriends'));
				}else{
					alert(data.msg);
				}
			},
			beforeSend: function(){
				$(".ajaxLoading").show();
			},
			complete: function(data){
				$(".ajaxLoading").hide();
			}
		});
	}

	//禁止IOS回弹;
	document.addEventListener("touchmove", function(evt){
		//evt.preventDefault();
	}, true);

	//开场
	function anmiArr(){
		anmi = new TimelineLite();
		anmi
			.from($('.sitelogo'),1,{y:"-100%", autoAlpha:0, ease:Expo.easeOut},'+=1')
			.from($('.footer'),1,{y:"-10%", autoAlpha:0, ease:Elastic.easeOut})
			.from($('.c0,.c1,.c2'),1,{autoAlpha:0, x:'-50%', ease:Expo.easeOut},'-=1')
			.from($('.moon'),2,{y:'-100%', ease:Elastic.easeOut})
			.from($('.moon .bigTitle'),0.5,{scale:2, autoAlpha:0, ease:Elastic.easeOut},'+=0')
			.from($('.moon .figure,.moon .figureBg'),0.5,{x:'-50%', y:'50%', scale:1, autoAlpha:0, ease:Expo.easeOut, transformOrigin:"left bottom"})
			.from($('.btnGo'),0.5,{y:"-100%",autoAlpha:0, ease:Back.easeOut},'+=0.3')
			.from($('.btnPrize'),0.5,{x:"-100%", y:"+100%",autoAlpha:0, ease:Expo.easeOut},'-=0')
			.from($('.btnHelp'),0.5,{x:"+100%", y:"+100%",autoAlpha:0, ease:Expo.easeOut},'-=0.5')
			.from($('.musicBtn'),0.5,{x:0, autoAlpha:0, ease:Expo.easeOut, onComplete:anmiArr2},'-=0.5')
		;
		// anmi.seek(10)
	}
	function anmiArr2(){
		TweenMax.to($('.btnGo .btn'),0.1,{y:'-3%', repeat:-1, repeatDelay:0.3, yoyo:true});
	}

	ccdata();

	function ccdata(){



		_czc.push(["_trackEvent", "页面加载", "onload", 'cc='+getQueryString('cc')+'&from='+getQueryString('from'), 1]);
		_hmt.push(['_trackEvent', "页面加载", "onload", 'cc='+getQueryString('cc')+'&from='+getQueryString('from'), 1]);



	}

</script>
